//
//  NSObject+HJHUD.m
//  YOYOLive
//
//  Created by 王红军 on 2016/12/7.
//  Copyright © 2016年 王根强. All rights reserved.
//

#import "NSObject+HJHUD.h"

@implementation NSObject (HJHUD)
- (void)showInfo:(NSString *)info
{
    if ([self isKindOfClass:[UIViewController class]] || [self isKindOfClass:[UIView class]]) {
        [[[UIAlertView alloc] initWithTitle:@"友播直播" message:info delegate:nil cancelButtonTitle:@"好的" otherButtonTitles:nil, nil] show];
    }
}
@end
